<%@ page language="java" pageEncoding="UTF-8"%>
<div ng-controller="DiscussDeleteShowController">
	<div class="panel panel-default">
		<div class="panel-heading">
			已删除
		</div>
		<div class="panel-body">
			<table class="table table-hover">
				<thead>
					<tr>
						<th>
							ID
						</th>
						<th>
							标题
						</th>
						<th>
							内容
						</th>
						<th>
							创建时间
						</th>
						<th>
							操作
						</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="ds in discuss.data">
						<td>
							{{ds.id}}
						</td>
						<td title="{{ds.title | textOnly}}">
							{{ds.title | textOnly | summary:20}}
						</td>
						<td title="{{ds.content | textOnly}}">
							{{ds.content | textOnly | summary:20}}
						</td>
						<td>
							{{ds.create_time | formatDate}}
						</td>
						<td>
							<button type="button" class="btn btn-success btn-xs" ng-click="recover(ds)"><i class="glyphicon glyphicon-repeat"></i> 恢复</button>
						</td>
					</tr>
				</tbody>
			</table>
			
			<paginate page-count="discuss.page_count" sum="discuss.data_sum" pn="discuss.pn" click="find"></paginate>
		</div>
	</div>
</div>